<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        html, body { 
            height: 100%; 
        } 
    </style>
</head>
<body>
    <div style="max-height: 30%; background-color: aqua; display: flex; align-items: flex-start; ">
        <div style="width: 100px; background-color: beige; height: 30%">1</div>
        <div style="width: 100px; background-color: mediumturquoise; height: 300px;">2</div>
    </div>
</body>
</html>